package kr.co.doriclassic.lab09;

public class Circle {
	private double radius;

	public Circle(double radius) {
		this.radius = radius;
	}

	public double getRadius() {
		return radius;
	}

	public void setRadius(double radius) {
		this.radius = radius;
	}
	
	private double square(){
		return radius*radius;
	}
	
	public double getPerimeter(){
		return radius*2*getPI();
	}
	
	public double getArea(){
		return square()*getPI();
	}
	
	private static double getPI(){
		return 3.141592;
	}
		
}
